package com.project.demo.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.sql.Timestamp;


/**
 * 员工用户：(EmployeeUser)表实体类
 *
 */
@TableName("`employee_user`")
@Data
@EqualsAndHashCode(callSuper = false)
public class EmployeeUser implements Serializable {

    // EmployeeUser编号
    @TableId(value = "employee_user_id", type = IdType.AUTO)
    private Integer employee_user_id;

    // 员工姓名
    @TableField(value = "`employee_name`")
    private String employee_name;
    // 员工电话
    @TableField(value = "`employee_phone`")
    private String employee_phone;

    // 用户编号
    @TableField(value = "user_id")
    private Integer userId;

    @TableField(value = "merchant_id")
    private Integer merchant_id;

    @TableField(value = "merchant_user_id")
    private Integer merchant_user_id;
	// 更新时间
    @TableField(value = "update_time")
    private Timestamp update_time;

    // 创建时间
    @TableField(value = "create_time")
    private Timestamp create_time;

}
